/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.lottery.dependencies.lotto;


import com.yiqi.lottery.feature.login.contract.LoginContract;
import com.yiqi.lottery.feature.login.presenter.LoginPresenter;
import com.yiqi.lottery.feature.lottery.contract.LottoContract;
import com.yiqi.lottery.feature.lottery.presenter.LottoPresenter;
import dagger.Module;
import dagger.Provides;

@Module
public class LottoPresenterModule {
    private final LottoContract.View mView;

    public LottoPresenterModule(LottoContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public LottoContract.Presenter provideLottoPresenter(){
        return  new LottoPresenter(mView);
    }

}
